/* clarity-js v0.7.31: https://github.com/microsoft/clarity (License: MIT) */ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return Ua},get start(){return qa},get stop(){return Fa},get track(){return Ha}}),e=Object.freeze({__proto__:null,get clone(){return fr},get compute(){return hr},get data(){return rr},get keys(){return ir},get reset(){return pr},get start(){return lr},get stop(){return gr},get trigger(){return dr},get update(){return vr}}),n=Object.freeze({__proto__:null,get check(){return Er},get compute(){return Nr},get data(){return ar},get start(){return kr},get stop(){return Tr},get trigger(){return Or}}),a=Object.freeze({__proto__:null,get compute(){return Cr},get data(){return Sr},get log(){return Ir},get reset(){return Dr},get start(){return Mr},get stop(){return _r},get updates(){return xr}}),r=Object.freeze({__proto__:null,get callbacks(){return jr},get clear(){return Yr},get consent(){return Xr},get data(){return Ar},get electron(){return Rr},get id(){return Wr},get metadata(){return Pr},get save(){return qr},get shortid(){return Vr},get start(){return zr},get stop(){return Hr}}),i=Object.freeze({__proto__:null,get data(){return $r},get envelope(){return ni},get start(){return ti},get stop(){return ei}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-c),0)}var l="0.7.31";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return O(),t?t.replace(v,e).replace(p,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a0&&a%5==0?" ":"•";return n}function O(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var N=null,T=null,S=!1;function x(){S&&(N={time:s(),event:4,data:{visible:T.visible,docWidth:T.docWidth,docHeight:T.docHeight,screenWidth:T.screenWidth,screenHeight:T.screenHeight,scrollX:T.scrollX,scrollY:T.scrollY,pointerX:T.pointerX,pointerY:T.pointerY,activityTime:T.activityTime,scrollTime:T.scrollTime}}),T=T||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function M(t,e,n,a){switch(t){case 8:T.docWidth=e,T.docHeight=n;break;case 11:T.screenWidth=e,T.screenHeight=n;break;case 10:T.scrollX=e,T.scrollY=n,T.scrollTime=a;break;default:T.pointerX=e,T.pointerY=n}S=!0}function _(t){T.activityTime=t}function I(t,e){T.visible="visible"===e?1:0,T.visible||_(t),S=!0}function C(){S&&wr(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:x,start:function(){S=!1,x()},get state(){return N},stop:function(){x()},track:M,visibility:I}),A=null;function j(t,e){wi()&&t&&"string"==typeof t&&t.length<255&&(A=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},wr(24))}var R,L=null,z=null;function H(t){t in L||(L[t]=0),t in z||(z[t]=0),L[t]++,z[t]++}function P(t,e){null!==e&&(t in L||(L[t]=0),t in z||(z[t]=0),L[t]+=e,z[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(z[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(ii(t),e,n)}function Y(t){return window.clearTimeout(t)}var q=0,U=0,F=null;function V(){F&&Y(F),F=X(B,U),q=s()}function B(){var t=s();R={gap:t-q},wr(25),R.gap<3e5?F=X(B,U):mi&&(j("clarity","suspend"),Li(),["mousemove","touchstart"].forEach((function(t){return ui(document,t,Ei)})),["resize","scroll","pageshow"].forEach((function(t){return ui(window,t,Ei)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,q=0},stop:function(){Y(F),q=0,U=0}}),K=null;function G(t,e){if(t in K){var n=K[t],a=n[n.length-1];e-a[0]>100?K[t].push([e,0]):a[1]=e-a[0]}else K[t]=[[e,0]]}function Z(){wr(36)}function Q(){K={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return K},reset:Q,start:function(){K={}},stop:function(){K={}},track:G}),tt=null;function et(t){wi()&&o.lean&&(o.lean=!1,tt={key:t},qr(),o.upgrade&&o.upgrade(t),wr(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(wi()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var gt=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var bt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function yt(){L={},z={},H(5),bt.forEach((function(t){return ii(t.start)()}))}function wt(){bt.slice().reverse().forEach((function(t){return ii(t.stop)()})),L={},z={}}function kt(){st(),C(),Cr(),wr(0),Z(),Nr(),hr()}var Et,Ot=[];function Nt(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(Et={id:t,target:e,checksum:d(n,24)},Ot.indexOf(Et.checksum)<0&&(Ot.push(Et.checksum),$a(41)))}var Tt="load,active,fixed,visible,focus,show,collaps,animat".split(","),St={};function xt(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Mt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in St||(St[c]=[]),St[c].indexOf(t.id)<0&&St[c].push(t.id),i="".concat(c).concat("~").concat(St[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Mt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Mt(t){if(!t)return!1;if(Tt.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e=48&&n<=57)return!1}return!0}var _t=1,It=null,Ct=[],Dt=[],At={},jt=[],Rt=[],Lt=[],zt=[],Ht=[],Pt=[],Wt=null,Xt=null,Yt=null,qt=null;function Ut(){Vt(),Bt(document,!0)}function Ft(){Vt()}function Vt(){_t=1,Ct=[],Dt=[],At={},jt=[],Rt=[],Lt="address,password,contact".split(","),zt="password,secret,pass,social,ssn,code,hidden".split(","),Ht="radio,checkbox,range,button,reset,submit".split(","),Pt="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,St={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Rt.push(t):jt.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ge(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),Rt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){nr(5,1,t?t.name:null)}}function Jt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Wt.get(t);return!n&&e&&(n=_t++,Wt.set(t,n)),n||null}function Kt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Xt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Gt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Xt.has(e)?Xt.get(e):null}function Zt(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Qt(t){var e=t.parent&&t.parent in Ct?Ct[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=Ct[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[xt(i,0),xt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return At[e]=t.id}))}function $t(t){var e=te(ne(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function te(t){return It.has(t)?It.get(t):null}function ee(t){var e=Jt(t);return e in Ct?Ct[e]:null}function ne(t){return t in At?At[t]:null}function ae(t){return It.has(Jt(t))}function re(){for(var t=[],e=0,n=Dt;e=0&&1===e&&a?(Dt.splice(r,1),Dt.push(t)):-1===r&&n&&Dt.push(t)}var ce=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Jt(t,!0),u=e?Jt(e):null,c=oe(t),s=null,l=Ze(t)?i:null,d=qt.has(t)?qt.get(t):null,f=o.content?1:3;u>=0&&Ct[u]&&((s=Ct[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Ge(t,n.attributes["data-clarity-region"]),l=i),It.set(i,t),Ct[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Pt.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=zt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Ht.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Yt.has(t):r.privacy=Yt.get(t);break;case qt.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||jt.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,Lt,r)}}(t,Ct[i],s),Qt(Ct[i]),"IMG"===(r=Ct[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),ue(i,a)},get:ee,getId:Jt,getNode:te,getValue:function(t){return t in Ct?Ct[t]:null},has:ae,hashText:$t,iframe:Gt,lookup:ne,parse:Bt,sameorigin:Kt,start:Ut,stop:Ft,update:function(t,e,n,a){var r=Jt(t),i=e?Jt(e):null,o=oe(t),u=!1,c=!1;if(r in Ct){var s=Ct[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:Ct[i].children.indexOf(o)+1;Ct[i].children.splice(d,0,r),s.region=Ze(t)?r:Ct[i].region}else!function(t,e){if(t in Ct){var n=Ct[t];n.metadata.active=!1,n.parent=null,ue(t,e),ie(t)}}(r,a);if(null!==l&&l>=0){var f=Ct[l].children.indexOf(r);f>=0&&Ct[l].children.splice(f,1)}c=!0}for(var h in n)Zt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Qt(s),ue(r,a,u,c)}},updates:re}),se=5e3,le={},de=[],fe=null,he=null,pe=null;function ve(){le={},de=[],fe=null,he=null}function ge(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=de;nle[e].yield?0:1:2}function ye(t){le[Ee(t)]={start:performance.now(),calls:0,yield:30}}function we(t){var e=performance.now(),n=Ee(t),a=e-le[n].start;P(t.cost,a),H(5),le[n].calls>0&&P(4,a)}function ke(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=Ee(t))in le?(we(t),n=le[e],[4,Oe()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Ee(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;ye(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Ee(t){return"".concat(t.id,".").concat(t.cost)}function Oe(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return he?[4,he]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Te(t,{timeout:se})}))]}}))}))}var Ne,Te=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&oe.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Se(){Ne=null}function xe(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Ne&&c===Ne.width&&v===Ne.height||null===c||null===v||(Ne={width:c,height:v},We(8))}var Me=[],_e=[],Ie=null,Ce=null,De=null,Ae=null,je="clarityAnimationId",Re="clarityOperationCount",Le=20;function ze(){_e=[]}function He(t,e,n,a,r,i,o){_e.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),We(44)}function Pe(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){if(wi()){var n=this.effect,a=Jt(this.effect.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!this[je]){this[je]=Vr(),this[Re]=0;var r=n.getKeyframes(),i=n.getTiming();He(s(),this[je],0,JSON.stringify(r),JSON.stringify(i),a)}if(this[Re]++0))return[3,12];w=0,k=y,z.label=7;case 7:return w=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),z.label=12;case 12:return[3,13];case 13:return[2]}}))}))}function Xe(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=te(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Ye(t){return t.toString(36)}function qe(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var Ue=[],Fe=null,Ve={},Be=[],Je=!1,Ke=null;function Ge(t,e){!1===Fe.has(t)&&(Fe.set(t,e),(Ke=null===Ke&&Je?new IntersectionObserver($e,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ke)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ke.observe(t))}function Ze(t){return Fe&&Fe.has(t)}function Qe(){for(var t=[],e=0,n=Be;e0&&We(7)}function $e(t){for(var e=0,n=t;e0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Ve?Ve[c]:{id:c,name:Fe.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;tn(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ke&&Ke.unobserve(r)}}Ue.length>0&&We(7)}function tn(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in Ve&&r||!(e.id in Ve))&&(Ve[e.id]=e,Ue.push(en(e))):Be.push({node:t,state:en(e)})}function en(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function nn(){Ue=[]}var an=[];function rn(t){var e=xa(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,24):"";an.push({time:s(t),event:42,data:{target:xa(t),type:e.type,value:n,checksum:a}}),ge(_a.bind(this,42))}}function on(){an=[]}function un(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Gt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var cn=["input","textarea","radio","button","canvas"],sn=[];function ln(t){ui(t,"click",dn.bind(this,9,t),!0)}function dn(t,e,n){var a=Gt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=un(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=xa(n),l=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(sn.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:hn(c),context:pn(l),text:fn(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(_a.bind(this,t)))}function fn(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function hn(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(cn.indexOf(e)>=0)return 0}return 1}function pn(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function vn(){sn=[]}var gn=[];function mn(t,e){gn.push({time:s(e),event:38,data:{target:xa(e),action:t}}),ge(_a.bind(this,38))}function bn(){gn=[]}var yn=null,wn=[];function kn(t){var e=xa(t),n=ee(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};wn.length>0&&wn[wn.length-1].data.target===r.target&&wn.pop(),wn.push({time:s(t),event:27,data:r}),Y(yn),yn=X(En,1e3,27)}}function En(t){ge(_a.bind(this,t))}function On(){wn=[]}var Nn,Tn=[],Sn=null;function xn(t,e,n){var a=Gt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=un(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&_n({time:s(n),event:t,data:{target:xa(n),x:i,y:o}})}function Mn(t,e,n){var a=Gt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u1?Tn[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&Tn.pop(),Tn.push(t),Y(Sn),Sn=X(In,500,t.event);break;default:Tn.push(t),In(t.event)}}function In(t){ge(_a.bind(this,t))}function Cn(){Tn=[]}function Dn(){var t=document.documentElement;Nn={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},_a(11)}function An(){Nn=null}var jn=[],Rn=null;function Ln(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?xa(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Gt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u=window.innerWidth,c=window.innerHeight,l=u/3,d=u>c?.15*c:.2*c,f=c-d,h=zn(l,d),p=zn(l,f),v={time:s(t),event:10,data:{target:a,x:i,y:o,top:h,bottom:p}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var g=jn.length,m=g>1?jn[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(m,v)&&jn.pop(),jn.push(v),Y(Rn),Rn=X(Hn,500,10)}}function zn(t,e){var n,a,r,i,o;return"caretPositionFromPoint"in document?o=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(o=null===(a=document.caretRangeFromPoint(t,e))||void 0===a?void 0:a.startContainer),o||(o=document.elementFromPoint(t,e)),o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode),null===(i=null===(r=ee(o))||void 0===r?void 0:r.hash)||void 0===i?void 0:i[1]}function Hn(t){ge(_a.bind(this,t))}var Pn=null,Wn=null,Xn=null;function Yn(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=Pn.start?Pn.start:null;null!==Wn&&null!==Pn.start&&n!==e.anchorNode&&(Y(Xn),qn(21)),Pn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},Wn=e,Y(Xn),Xn=X(qn,500,21)}}function qn(t){ge(_a.bind(this,t))}function Un(){Wn=null,Pn={start:0,startOffset:0,end:0,endOffset:0}}var Fn,Vn,Bn=[];function Jn(t){Bn.push({time:s(t),event:39,data:{target:xa(t)}}),ge(_a.bind(this,39))}function Kn(){Bn=[]}function Gn(t){Fn={name:t.type},_a(26,s(t)),Li()}function Zn(){Fn=null}function Qn(t){void 0===t&&(t=null),Vn={visible:"visibilityState"in document?document.visibilityState:"default"},_a(28,s(t))}function $n(){Vn=null}function ta(t){!function(t){var e=Gt(t);ui(e?e.contentWindow:t===document?window:t,"scroll",Ln,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(ln(t),function(t){ui(t,"cut",mn.bind(this,0),!0),ui(t,"copy",mn.bind(this,1),!0),ui(t,"paste",mn.bind(this,2),!0)}(t),function(t){ui(t,"mousedown",xn.bind(this,13,t),!0),ui(t,"mouseup",xn.bind(this,14,t),!0),ui(t,"mousemove",xn.bind(this,12,t),!0),ui(t,"wheel",xn.bind(this,15,t),!0),ui(t,"dblclick",xn.bind(this,16,t),!0),ui(t,"touchstart",Mn.bind(this,17,t),!0),ui(t,"touchend",Mn.bind(this,18,t),!0),ui(t,"touchmove",Mn.bind(this,19,t),!0),ui(t,"touchcancel",Mn.bind(this,20,t),!0)}(t),function(t){ui(t,"input",kn,!0)}(t),function(t){ui(t,"selectstart",Yn.bind(this,t),!0),ui(t,"selectionchange",Yn.bind(this,t),!0)}(t),function(t){ui(t,"change",rn,!0)}(t),function(t){ui(t,"submit",Jn,!0)}(t))}var ea=Object.freeze({__proto__:null,observe:ta,start:function(){Ia=[],Da(),vn(),bn(),Cn(),On(),ui(window,"resize",Dn),Dn(),ui(document,"visibilitychange",Qn),Qn(),jn=[],Ln(),Un(),on(),Kn(),ui(window,"pagehide",Gn)},stop:function(){Ia=[],Da(),vn(),bn(),Y(Sn),Tn.length>0&&In(Tn[Tn.length-1].event),Y(yn),On(),An(),$n(),Y(Rn),jn=[],Un(),Y(Xn),on(),Kn(),Zn()}}),na=/[^0-9\.]/g;function aa(t){for(var e=0,n=Object.keys(t);e=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Ir(5,t[a]),Ir(8,t.creator),Ir(18,t.headline);break;case"product":Ir(5,t[a]),Ir(10,t.name),Ir(12,t.sku),t.brand&&Ir(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,ra(t.ratingValue,100)),W(18,ra(t.bestRating)),W(19,ra(t.worstRating))),W(12,ra(t.ratingCount)),W(17,ra(t.reviewCount));break;case"person":Ir(8,t.name);break;case"offer":Ir(7,t.availability),Ir(14,t.itemCondition),Ir(13,t.priceCurrency),Ir(12,t.sku),W(13,ra(t.price));break;case"brand":Ir(6,t.name)}null!==r&&"object"==typeof r&&aa(r)}}function ra(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(na,""))*e)}return null}var ia=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],oa=/[\r\n]+/g;function ua(t,e,n){var a,r=null;if(2===e&&!1===ae(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ae(t)?"add":"update",o=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&t.parentNode?Gt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),ca(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host)if(Bt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){ca(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ae(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};ce[i](t,o,f,e)}break;case Node.ELEMENT_NODE:var h=t,p=h.tagName,v=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a0)&&(e=la(t.sheet)),e}function la(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(nr(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=be(e))?[3,3]:[4,ke(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=ua(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var fa=[],ha=[],pa=null,va=null,ga=null,ma=[],ba=null,ya=null,wa={};function ka(t){var e=s();G(6,e),ha.push({time:e,mutations:t}),ge(Ea,1).then((function(){X(xe),ii(Qe)()}))}function Ea(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l;return rt(this,(function(d){switch(d.label){case 0:ye(t={id:Wr(),cost:3}),d.label=1;case 1:if(!(ha.length>0))return[3,8];e=ha.shift(),n=s(),a=0,r=e.mutations,d.label=2;case 2:return aya,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,Oa(t.addedNodes),Oa(t.removedNodes)].join();wa[c]=c in wa?wa[c]:[0,n];var l=wa[c];if(!1===i&&l[0]>=10&&Na(l[2],2,e),l[0]=i?l[1]===n?l[0]:l[0]+1:1,l[1]=n,10===l[0])return l[2]=t.removedNodes,"suspend";if(l[0]>10)return""}return t.type}(i,t,n,e.time),c&&u&&u.ownerDocument&&Bt(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&Bt(u),c){case"attributes":ua(u,3,e.time);break;case"characterData":ua(u,4,e.time);break;case"childList":Na(i.addedNodes,1,t,e.time),Na(i.removedNodes,2,t,e.time);break;case"suspend":(l=ee(u))&&(l.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,We(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return we(t),[2]}}))}))}function Oa(t){for(var e=[],n=0;t&&n0?e[0]:t.target;return ya=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Ma(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ee(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=te(t),a=t in Ve?Ve[t]:{id:t,visibility:0,interaction:16,name:Fe.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}tn(n,a,r,a.visibility)}(r.region,e),i.fraud&&Nt(i.fraud,r.id,n||r.data.value)}}return a}function _a(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,O,N,T,S,x,_,C,D,A,j,R,L,z;return rt(this,(function(H){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=Tn;r0&&((a=[L.time,L.event]).push(o.id),a.push(L.data.x),a.push(L.data.y),Ua(a),M(L.event,L.data.x,L.data.y));Cn();break;case 9:for(u=0,c=sn;u0&&(a.push(A.id),a.push(L.data.action),Ua(a));bn();break;case 11:p=Nn,a.push(p.width),a.push(p.height),M(t,p.width,p.height),An(),Ua(a);break;case 26:v=Fn,a.push(v.name),Zn(),Ua(a);break;case 27:for(g=0,y=wn;g0&&((a=[L.time,L.event]).push(S.id),a.push(L.data.x),a.push(L.data.y),a.push(L.data.top),a.push(L.data.bottom),Ua(a),M(L.event,L.data.x,L.data.y,L.time));jn=[];break;case 42:for(x=0,_=an;x<_.length;x++)L=_[x],a=[L.time,L.event],(A=Ma(L.data.target,L.event)).id>0&&((a=[L.time,L.event]).push(A.id),a.push(L.data.type),a.push(m(L.data.value,"change",A.privacy)),a.push(m(L.data.checksum,"checksum",A.privacy)),Ua(a));on();break;case 39:for(C=0,D=Bn;C0&&(a.push(A.id),Ua(a));Kn();break;case 22:for(j=0,R=Ca;j1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Pa+=r.length;case 37:case 6:case 43:case 45:case 46:Wa+=r.length,ja.push(r);break;default:Ra.push(r)}H(25);var i=function(){var t=!1===o.lean&&Pa>0?100:$r.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Ya>2*i&&(Y(Xa),Xa=null),e&&null===Xa&&(25!==a&&V(),Xa=X(Va,i),Ya=n,Er(Wa))}}function Fa(){Y(Xa),Va(!0),Pa=0,Wa=0,Ya=0,ja=[],Ra=[],La={},Ha=null,za=!1}function Va(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Xa=null,(e=!1===o.lean&&Wa>0&&(Wa<1048576||$r.sequence>0))&&W(1,1),Qe(),function(){var t=[];Ca=[];for(var e=$r.start+$r.duration,n=Math.max(e-2e3,0),a=0,r=Ia;a=n&&(i.time<=e&&Ca.push(i),t.push(i))}Ia=t,_a(22)}(),kt(),n=!0===t,a=JSON.stringify(ni(n)),r="[".concat(Ra.join(),"]"),i=e?"[".concat(ja.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return P(2,(c=s)?c.length:u.length),Ba(u,c,$r.sequence,n),Ra=[],e&&(ja=[],Wa=0,Pa=0),[2]}}))}))}function Ba(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&Ka(n)}catch(t){}if(!1===i){n in La?La[n].attempts++:La[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){ri(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){ii(Ja)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),Ka(n)}}function Ja(t,e){var n=La[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Or(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Ba(n.data,null,e)):(Ha={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&wr(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n0?r.split(/ (.*)/):[""];switch(i[0]){case"END":Or(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&dr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(Ba(n.data,null,e,!0),Or(3)),t.status>=200&&t.status<=208&&Ka(e),delete La[e]))}function Ka(t){1===t&&qr()}var Ga,Za={};function Qa(t){var e=t.error||t;return e.message in Za||(Za[e.message]=0),Za[e.message]++>=5||e&&e.message&&(Ga={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},$a(31)),!0}function $a(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Ga.message),e.push(Ga.line),e.push(Ga.column),e.push(Ga.stack),e.push(b(Ga.source)),Ua(e);break;case 33:tr&&(e.push(tr.code),e.push(tr.name),e.push(tr.message),e.push(tr.stack),e.push(tr.severity),Ua(e,!1));break;case 41:Et&&(e.push(Et.id),e.push(Et.target),e.push(Et.checksum),Ua(e,!1))}return[2]}))}))}var tr,er={};function nr(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in er&&er[t].indexOf(i)>=0||(tr={code:t,name:n,message:a,stack:r,severity:e},t in er?er[t].push(i):er[t]=[i],$a(33))}var ar,rr={},ir=new Set,or={},ur={},cr={},sr={};function lr(){pr()}function dr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in or[a]={},ur[a]={},cr[a]={},sr[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);or[a][u]=mr(l);break;case 2:ur[a][u]=c;break;case 4:var d=c.substring(1,c.length);cr[a][u]=d}}}catch(t){nr(8,1,t?t.name:null)}}function fr(t){return JSON.parse(JSON.stringify(t))}function hr(){try{for(var t in or){var e=parseInt(t);if(""==sr[e]||document.querySelector(sr[e])){var n=or[e];for(var a in n){var r=parseInt(a),i=(h=br(fr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&vr(e,r,i)}var o=ur[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)vr(e,c,Array.from(s).map((function(t){return t.textContent})).join("").substring(0,1e4))}var l=cr[e];for(var d in l){var f=parseInt(d);vr(e,f,$t(l[f]).trim().substring(0,1e4))}}}ir.size>0&&wr(40)}catch(t){nr(5,1,t?t.name:null)}var h}function pr(){ir.clear()}function vr(t,e,n){var a,r=!1;t in rr||(rr[t]={},r=!0),a=cr[t],0==Object.keys(a).length||e in rr[t]&&rr[t][e]==n||(r=!0),rr[t][e]=n,r&&ir.add(t)}function gr(){pr()}function mr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function br(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&yr(r,a.condition))n=br(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o1?t[n[0]]==n[1]:t[n[0]]}return!0}function wr(t){var e=[s(),t];switch(t){case 4:var n=N;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),Ua(e,!1)),x();break;case 25:e.push(R.gap),Ua(e);break;case 35:e.push(ar.check),Ua(e,!1);break;case 3:e.push(tt.key),Ua(e);break;case 2:e.push(Ha.sequence),e.push(Ha.attempts),e.push(Ha.status),Ua(e,!1);break;case 24:A.key&&e.push(A.key),e.push(A.value),Ua(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r0){for(var c=0,l=u;c0){for(var p=0,v=h;p0){for(var b=0,y=m;b=128?1:e,e=$r.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==ar.check&&Or(e)}}function Or(t){ar.check=t,Yr(),Li()}function Nr(){0!==ar.check&&wr(35)}function Tr(){ar=null}var Sr=null,xr=null;function Mr(){Sr={},xr={}}function _r(){Sr={},xr={}}function Ir(t,e){e&&(e="".concat(e),t in Sr||(Sr[t]=[]),Sr[t].indexOf(e)<0&&(Sr[t].push(e),t in xr||(xr[t]=[]),xr[t].push(e),Sr[t].length>128&&Or(5)))}function Cr(){wr(1)}function Dr(){xr={}}var Ar=null,jr=[],Rr=0,Lr=null;function zr(){Lr=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";Rr=t.indexOf("Electron")>0?1:0;var n,a=function(){var t={session:Vr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Kr("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Br(n[1])<18e5&&(t.session=n[0],t.count=Br(n[2])+1,t.upgrade=Br(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=Jr(),i=o.projectId||d(location.host);Ar={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},o.lean=o.track&&null!==a.upgrade?0===a.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&a.upload&&a.upload.length>"https://".length?a.upload:o.upload,Ir(0,t),Ir(3,e),Ir(1,b(location.href,!!Rr)),Ir(2,document.referrer),Ir(15,function(){var t=Vr();if(o.track&&Ur(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Ir(16,document.documentElement.lang),Ir(17,document.dir),Ir(26,"".concat(window.devicePixelRatio)),Ir(28,r.dob.toString()),Ir(29,r.version.toString()),W(0,a.ts),W(1,0),W(35,Rr),navigator&&(Ir(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Ir(22,t.platform),Ir(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Ir(24,t.name+"~"+t.version)})),Ir(25,t.model),W(27,t.mobile?1:0)})):Ir(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var u=0,c=o.cookies;u0&&jr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(Ar,!o.lean)}))}(n),Zr("_clsk",[Ar.sessionId,t,Ar.pageNum,n,e].join("|"),1)}function Ur(t,e){try{return!!t[e]}catch(t){return!1}}function Fr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&Zr("_clck",[Ar.userId,2,n.toString(36),e,a].join("|"),365)}function Vr(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Br(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Jr(){var t={id:Vr(),version:0,expiry:null,consent:0,dob:0},e=Kr("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Br(n[1])),n.length>2&&(t.expiry=Br(n[2],36)),n.length>3&&1===Br(n[3])&&(t.consent=1),n.length>4&&Br(n[1])>1&&(t.dob=Br(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Kr(t){var e;if(Ur(document,"cookie")){var n=document.cookie.split(";");if(n)for(var a=0;a1&&r[0]&&r[0].trim()===t){for(var i=Gr(r[1]),o=i[0],u=i[1];o;)o=(e=Gr(u))[0],u=e[1];return u}}}return null}function Gr(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Zr(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||Ur(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===Lr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Lr=".".concat(c[s]).concat(Lr||""),s0){var n={v:$r.version,p:$r.projectId,u:$r.userId,s:$r.sessionId,n:$r.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),Qr.push(t.message)}}return t}function ii(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw ri(t)}var n=performance.now()-e;P(4,n),n>30&&(H(7),W(6,n))}}var oi=[];function ui(t,e,n,a){void 0===a&&(a=!1),n=ii(n);try{t[u("addEventListener")](e,n,a),oi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function ci(){for(var t=0,e=oi;t20)||(nr(4,0),!1)}function pi(){fi=0,di!==gi()&&(Li(),window.setTimeout(vi,250))}function vi(){Ri(),W(29,1)}function gi(){return location.href?location.href.replace(location.hash,""):location.href}var mi=!1;function bi(){mi=!0,c=performance.now(),ve(),ci(),ai(),di=gi(),fi=0,ui(window,"popstate",pi),null===si&&(si=history.pushState,history.pushState=function(){si.apply(this,arguments),wi()&&hi()&&pi()}),null===li&&(li=history.replaceState,history.replaceState=function(){li.apply(this,arguments),wi()&&hi()&&pi()})}function yi(){di=null,fi=0,ai(),ci(),ve(),c=0,mi=!1}function wi(){return mi}function ki(t){if(null===t||mi)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function Ei(){Ri(),j("clarity","restart")}var Oi=Object.freeze({__proto__:null,start:function(){!function(){Ot=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self?1:2)}catch(t){W(31,0)}}(),ui(window,"error",Qa),Za={},er={}},stop:function(){er={}}});function Ni(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),ye(e={id:Wr(),cost:3}),[4,da(document,e,0)];case 1:return n.sent(),[4,We(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}var Ti=Object.freeze({__proto__:null,hashText:$t,start:function(){Se(),xe(),nn(),Ke=null,Fe=new WeakMap,Ve={},Be=[],Je=!!window.IntersectionObserver,Ut(),o.delayDom&&ui(window,"load",(function(){!function(){if(fa=[],ma=[],ba=null,ya=0,wa={},null===pa&&(pa=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return wi()&&Ta(this.ownerNode),pa.apply(this,arguments)}),null===va&&(va=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return wi()&&Ta(this.ownerNode),va.apply(this,arguments)}),null===ga){ga=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return wi()?Ta(ga.apply(this,arguments)):ga.apply(this,arguments)}}catch(t){ga=null}}}()})),ge(Ni,1).then((function(){ii(xe)(),ii(Qe)()})),window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(ze(),Pe(Ie,"play"),Pe(Ce,"pause"),Pe(De,"cancel"),Pe(Ae,"finish"))},stop:function(){nn(),Fe=null,Ve={},Be=[],Ke&&(Ke.disconnect(),Ke=null),Je=!1,Ft(),function(){for(var t=0,e=fa;t=0&&("layout-shift"===n&&P(9,0),Si.observe({type:n,buffered:!0}))}}catch(t){nr(3,1)}}function Di(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n0;)Hi[Pi].apply(Hi,t.shift())}}Wi()}();